In material table one of the column has to be trim ..for example input is ramesh-123-india ,the output should be come as only "india"....how to do this
Consider looking into the split().
JavaScript docs
You can pass in a string pattern that it searches for to split it up.